<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tprogram-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'KDDEPT'); ?>
		<?php echo $form->textField($model,'KDDEPT',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'KDDEPT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDUNIT'); ?>
		<?php echo $form->textField($model,'KDUNIT',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'KDUNIT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDPROGRAM'); ?>
		<?php echo $form->textField($model,'KDPROGRAM',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'KDPROGRAM'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NMPROGRAM'); ?>
		<?php echo $form->textField($model,'NMPROGRAM',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'NMPROGRAM'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UROUTCOME'); ?>
		<?php echo $form->textField($model,'UROUTCOME',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'UROUTCOME'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDSASARAN'); ?>
		<?php echo $form->textField($model,'KDSASARAN',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'KDSASARAN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDJNSPROG'); ?>
		<?php echo $form->textField($model,'KDJNSPROG',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'KDJNSPROG'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDUPDATE'); ?>
		<?php echo $form->textField($model,'KDUPDATE',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'KDUPDATE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UPDATER'); ?>
		<?php echo $form->textField($model,'UPDATER',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UPDATER'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TGLUPDATE'); ?>
		<?php echo $form->textField($model,'TGLUPDATE',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'TGLUPDATE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'_NullFlags'); ?>
		<?php echo $form->textField($model,'_NullFlags',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'_NullFlags'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->